package com.cn.hnust.service;  
  


import javax.servlet.http.HttpServletRequest;

import org.springframework.ui.Model;

import com.cn.hnust.pojo.User;  
  
public interface IUserService {  
    public User getUserById(int userId);  
    
    /** 
     * 分页显示商品 
     * @param request 
     * @param model 
     * @param loginUserId 
     */  
    public void showProductsByPage(HttpServletRequest request,Model model);
    
    public int adduser(User uinfo);
    public int deleteuser(int id);
    public int updateuser(User record); 
}  
